import request from '@/utils/request'

//获取导航菜单列表
export const getNavList = () => {
    return request.get('/get-nav-list')
}

// 获取轮播图列表
export const getBrList = () => {
    return request.get('/get-banner-list')
}

// 获取新闻列表
export const getNewList = () => {
    return request.get('/get-news-list?page=1&page_size=2')
}

// 获取新闻详情
export const getNewsList = () => {
    return request.get('/get-news-info?id=6')
}
